package com.gec.service.abst;

import com.gec.domain.PageBean;
import com.gec.domain.PageParam;
import com.gec.domain.User;


public interface UserService {
    //用户登录
    User getUserByAccount(String account, String password);

    PageBean<User> getUserList(PageParam param);

    //添加和修改用户
    void saveUser(User user) throws Exception;

    //删除用户
    void delUser(String id);

    User getUserById(String id);
}
